import request from '@/utils/request'

// 查询供应商列表
export function querySupplierList(data) {
	return request({
		url: '/api/custom/getlist',
		method: 'post',
		data
	})
}

// 查询各端账号列表
export function queryAccountList(data) {
	return request({
		url: '/api/manger/getlist',
		method: 'post',
		data
	})
}

// 查询结算公司列表
export function queryCompanyList(data) {
	return request({
		url: '/api/settle/settlecompany/getlist',
		method: 'post',
		data
	})
}

// 查询钢厂列表
export function querySteelattrlist(data) {
	return request({
		url: '/api/steel/steelattrlist/getlist',
		method: 'post',
		data
	})
}

// 上传文件
export function uploadFile(data) {
	return request({
		url: '/api/common/uploadtooss',
		method: 'post',
		data
	})
}

// 获取结算方式选项
export function queryTettleType(query) {
	return request({
		url: '/api/settle/settletype/getlist',
		method: 'post',
		data: query
	})
}
